<!--
#    Copyright 2009 Tri-County Electric Cooperative, St. Matthews, South Carolina
#    This file is part of COOPGIS.
#    COOPGIS is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#    COOPGIS is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#    You should have received a copy of the GNU General Public License
#    along with COOPGIS.  If not, see <http://www.gnu.org/licenses/>.
-->

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>COOPGIS Ground Rod Test Report</title>
    <link rel="stylesheet" type="text/css" href="http://{{IPAddress}}/style.css" />
  </head>

<b>{{LoginStatus}}</b>   &nbsp&nbsp&nbsp&nbsp <small><a href="/coopgis/">Main Menu</a></small><br>
<br>


<div id="map"> </div>
<br>

<form method="post" action="">
<table>
 <tr><td>Company</td>		<td>{{form.GroundRodTestCompany}}</td>		<td>&nbsp</td></tr>
 <tr><td>Start Create Date</td>	<td>{{form.GroundRodTestStartCreateDate}}</td>	<td><input type="submit"/></td></tr>
 <tr><td>End Create Date</td>	<td>{{form.GroundRodTestEndCreateDate}}</td>	<td>Detailed Report {{form.GroundRodTestDetailedIndicator}}</td></tr>
 <tr><td>Start GroundRodTest Date</td><td>{{form.GroundRodTestStartTreatmentDate}}</td>	<td>Very Detailed Report {{form.GroundRodTestVeryDetailedIndicator}}</td></tr>
 <tr><td>End GroundRodTest Date</td><td> {{form.GroundRodTestEndTreatmentDate}}</td>	<td>&nbsp</td></tr>
 <tr><td>Resistance Greater Than</td><td>{{form.GroundRodTestResistanceGreaterThanX}}</td><td>&nbsp</td></tr>

</table>
</form>

<br>
{% if DetailIndicator %}
	<table border=1>
	<tr>
	{% for Heading in Headings %}
		<td>{{Heading}}</td>
	{% endfor %}
	</tr>
	
	{% for Row in Details %}
		<tr>
		{% for Detail in Row %}
			<td>{{Detail}}</td>
		{% endfor %}
		</tr>
	{% endfor %}
	</table>
{% else %}
	<table border=1>
	<tr>
	{% for Heading in Headings %}
		<td>{{Heading}}</td>
	{% endfor %}
        </tr>
        <tr>
        {% for Detail in Details %}
		<td>{{Detail}}</td>
        {% endfor %}
        </tr>
	</table>
{% endif %}
<br>


<br>
</ul>
  </body>
</html>
